package cn.itsource.ymcc.dto;

import cn.itsource.ymcc.constant.MQ;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class MessageDto {
    private String title;
    private String content;
    private String topic = MQ.YMCC_COURSE_ONLINE_PUSH_TOPIC;
    private String tags;
    private Date send_time = new Date();

    private List<String> emails;   //邮件接收人
    private List<String> copytos;  //抄送

    private List<String> phones;   //接收短信的手机号
    private List<String> ips;      //接收短信的用户ip

    private List<Long> user_ids;   //站内信接收人id
    private String type;    //站内信的类型
    private Integer isread = 0; //站内信是否已读

}
